package com.mm.bo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * @ClassName AttendanceInsertBo
 * @Description TODO
 * @Author 任昊
 * @Date 2020/12/4 15:53
 */
@ApiModel(value = "新增员工入参", description = "新增员工入参")
@Data
public class AttendanceInsertBo {

    @ApiModelProperty(value = "员工id", name = "empId")
    @NotEmpty(message = "员工ID不能为空")
    private String empId;

    @ApiModelProperty(value = "考勤月份（年/月）", name = "atteTime")
    private Long atteTime;

    @ApiModelProperty(value = "出勤天数", name = "atteDay")
    private Long atteDay;

    @ApiModelProperty(value = "缺勤天数", name = "atteAbsentDay")
    private Long atteAbsentDay;

    @ApiModelProperty(value = "迟到次数", name = "atteLate")
    private Long atteLate;

    @ApiModelProperty(value = "早退次数", name = "atteLeaveEarly")
    private Long atteLeaveEarly;

    @ApiModelProperty(value = "旷工次数", name = "atteAbsenteeism")
    private Long atteAbsenteeism;

    @ApiModelProperty(value = "请假次数", name = "atteLeave")
    private Long atteLeave;

    private String token;
}
